From: Andrew Cooper Date: Wed, 20 Mar 2013 09:02:26 +0000 (+0100) Subject: VT-d: Enumerate IOMMUs when listing capabilities X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7095 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=32861c537781ac94bf403fb778505c3679b85f67;p=xen.git VT-d: Enumerate IOMMUs when listing capabilities This saves N identical console log lines on a multi-iommu server. Signed-off-by: Andrew Cooper --- diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index b6ea6850c5..132f04a083 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -2131,7 +2131,8 @@ int __init intel_vtd_setup(void) { iommu = drhd->iommu; - printk("Intel VT-d supported page sizes: 4kB"); + printk("Intel VT-d iommu %"PRIu32" supported page sizes: 4kB", + iommu->index); if (cap_sps_2mb(iommu->cap)) printk(", 2MB");